-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
03 - Add a footer navigation to the website #8
Open
luca-rath
wants to merge
1
commit into
assignment/02
Choose a base branch
from
assignment/03
base: assignment/02
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
62269c8
to
4a3b90c
Compare
29f6a4b
to
c0c1b50
Compare
f010993
to
d3b0852
Compare
82c2319
to
5f0101b
Compare
d3b0852
to
d2641ea
Compare
5f0101b
to
216ce84
Compare
d2641ea
to
f54429c
Compare
afbf342
to
c37ea3b
Compare
3c66779
to
3f7a1d5
Compare
c37ea3b
to
38f9d5b
Compare
3f7a1d5
to
57392b6
Compare
38f9d5b
to
2f9e59b
Compare
2f9e59b
to
4678d4b
Compare
34aaaef
to
e1b6743
Compare
3cd912b
to
e71e032
Compare
61c2dc1
to
f9b3e0e
Compare
e71e032
to
be8c88b
Compare
f9b3e0e
to
fc9d6b7
Compare
be8c88b
to
96ae2c2
Compare
fc9d6b7
to
ffd157f
Compare
96ae2c2
to
89e7baa
Compare
89e7baa
to
f6ef6bc
Compare
f6ef6bc
to
e1e8742
Compare
d8b37c6
to
ff882ed
Compare
d5886d2
to
b5a94c5
Compare
b470b18
to
69a2e31
Compare
b5a94c5
to
0a2c1f6
Compare
69a2e31
to
fb0a78b
Compare
0a2c1f6
to
558a568
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add a footer navigation to the website
Goal
Right now, our website displays a static footer section on every page. We want to provide a way to manually manage
the links displayed in our footer section to our content manager.
Steps
footer
to theconfig/webspaces/example.xml
filefooter
navigation in yourtemplates/base.html.twig
Hints
main
navigation-contextMore Information
Sulu allows to define multiple so called navigation contexts to which the content manager can add an arbitrary number
of pages. Navigation contexts are defined in the navigation-section of the webspace configuration and can be assigned
to a page via the settings tab in the administration interface.
After defining a navigation context, a developer can retrieve the navigation for a given context by using Twig
extensions delivered with Sulu. The provided Twig extensions allow to retrieve a flat list of pages or a complete
nested navigation tree.
Links